package com.itheima.reggie.entity.vo;

import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishFlavor;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 分页查询菜品返回值
 *
 * @Name : DishVo
 * @Author : WuQiang
 * @Date : 2022-08-14 19:53
 * @Description : 分页查询菜品返回值
 */
@Data
public class DishVo extends Dish implements Serializable {
    private static final long serialVersionUID = 1L;
    private List<DishFlavor> flavors = new ArrayList<>();
    private String categoryName; //菜品分类名称

}
